package com.tinycloud.miracll.finance.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * SAP生产订单成本对象 finance_sap_productorder_cost
 * 
 * @author tiny
 * @date 2021-08-28
 */
public class SapProductOrderCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 产品物资编码 */
    @Excel(name = "产品物资编码")
    private String itemcode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String itemname;

    /** 原材料物资编码 */
    @Excel(name = "原材料物资编码")
    private String materialcode;

    /** 原材料描述 */
    @Excel(name = "原材料描述")
    private String dscription;

    /** 产品总产出量 */
    @Excel(name = "产品总产出量")
    private BigDecimal output;

    /** 原材料总消耗量 */
    @Excel(name = "原材料总消耗量")
    private BigDecimal materialcount;

    /** 总成本 */
    @Excel(name = "总成本")
    private BigDecimal totalprice;

    /** 单位BOM */
    @Excel(name = "单位BOM")
    private BigDecimal tembom;

    /** 单位材料成本 */
    @Excel(name = "单位材料成本")
    private BigDecimal temprice;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setItemcode(String itemcode) 
    {
        this.itemcode = itemcode;
    }

    public String getItemcode() 
    {
        return itemcode;
    }
    public void setItemname(String itemname) 
    {
        this.itemname = itemname;
    }

    public String getItemname() 
    {
        return itemname;
    }
    public void setMaterialcode(String materialcode) 
    {
        this.materialcode = materialcode;
    }

    public String getMaterialcode() 
    {
        return materialcode;
    }
    public void setDscription(String dscription) 
    {
        this.dscription = dscription;
    }

    public String getDscription() 
    {
        return dscription;
    }
    public void setOutput(BigDecimal output) 
    {
        this.output = output;
    }

    public BigDecimal getOutput() 
    {
        return output;
    }
    public void setMaterialcount(BigDecimal materialcount) 
    {
        this.materialcount = materialcount;
    }

    public BigDecimal getMaterialcount() 
    {
        return materialcount;
    }
    public void setTotalprice(BigDecimal totalprice) 
    {
        this.totalprice = totalprice;
    }

    public BigDecimal getTotalprice() 
    {
        return totalprice;
    }
    public void setTembom(BigDecimal tembom) 
    {
        this.tembom = tembom;
    }

    public BigDecimal getTembom() 
    {
        return tembom;
    }
    public void setTemprice(BigDecimal temprice) 
    {
        this.temprice = temprice;
    }

    public BigDecimal getTemprice() 
    {
        return temprice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemcode", getItemcode())
            .append("itemname", getItemname())
            .append("materialcode", getMaterialcode())
            .append("dscription", getDscription())
            .append("output", getOutput())
            .append("materialcount", getMaterialcount())
            .append("totalprice", getTotalprice())
            .append("tembom", getTembom())
            .append("temprice", getTemprice())
            .toString();
    }
}
